package cn.ruituo.web;

import cn.ruituo.vo.TextPaper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author oldliu
 * @since 1.0
 */
@Configuration
public class AppConfig {
    @Bean
    public TextPaper myPaper(){
        TextPaper p=new TextPaper();
        p.setLines(12);
        p.setWords(22);
        return p;
    }
}
